From: Joey Hess Date: Mon, 10 Feb 2025 16:33:21 +0000 (-0400) Subject: don't export pack and unpack X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~6^2~158^2~28 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=20ed039d59c3a04c86c8cc878169e6f6b5729283;p=git-annex.git don't export pack and unpack These are too widly used for other things to make sense to export OsPath versions of them. And OsString also provides them and gets imported qualified when needed. --- diff --git a/Utility/OsPath.hs b/Utility/OsPath.hs index e751db5f0b..fb4e23dca5 100644 --- a/Utility/OsPath.hs +++ b/Utility/OsPath.hs @@ -28,7 +28,7 @@ import Data.ByteString.Short (ShortByteString) import qualified Data.ByteString.Short as S import qualified Data.ByteString.Lazy as L #ifdef WITH_OSPATH -import System.OsPath as X hiding (OsPath, OsString, unsafeFromChar) +import System.OsPath as X hiding (OsPath, OsString, pack, unpack, unsafeFromChar) import System.OsPath import "os-string" System.OsString.Internal.Types import qualified System.FilePath.ByteString as PB